649a08d614d8afb9404e45c17f4adaeacd6db4d1,brooklyn-server/core/src/main/java/org/apache/brooklyn/core/mgmt/EntityManagementUtils.java,EntityManagementUtils,mergeWrapperParentSpecToChildEntity,#EntitySpec#EntitySpec#,247

Before Change


        if (Strings.isNonEmpty(wrapperParent.getDisplayName()))
            wrappedChild.displayName(wrapperParent.getDisplayName());
        if (!wrapperParent.getLocations().isEmpty())
            wrappedChild.locations(wrapperParent.getLocations());
        if (!wrapperParent.getParameters().isEmpty()) {
            wrappedChild.parameters(wrapperParent.getParameters());
        }

After Change


            wrappedChild.displayName(wrapperParent.getDisplayName());
        }
        if (!wrapperParent.getLocations().isEmpty()) {
            wrappedChild.locations(wrapperParent.getLocations());
        }
        if (!wrapperParent.getParameters().isEmpty()) {
            wrappedChild.parameters(wrapperParent.getParameters());